package com.yungu.swift.assets.driver.model.vo;


import com.yungu.swift.common.model.dto.CommonEvaluateCountDto;
import com.yungu.swift.common.model.dto.CommonStarCountDto;

import java.util.List;

/**
 * @author Zerrion
 * @version 1.0
 * @description 司机评价
 * @date 2017/1/7 11:11
 */
public class DriverEvaluationVo {

    /**
     * 评价得分
     **/
    private Double score;

    /**
     * 最近100单平均评价得分
     **/
    private Double scoreOfRecent;

    /**
     * 成单数
     **/
    private Integer orderCount;

    /**
     * 司机评价星级分布
     **/
    private CommonStarCountDto commonStarCountDto;

    /**
     * 乘客评价标签统计
     **/
    private List<CommonEvaluateCountDto> evaluates;

    public Double getScore() {
        return score == null ? 0 : score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Double getScoreOfRecent() {
        return scoreOfRecent == null ? 0 : scoreOfRecent;
    }

    public void setScoreOfRecent(Double scoreOfRecent) {
        this.scoreOfRecent = scoreOfRecent;
    }

    public Integer getOrderCount() {
        return orderCount == null ? 0 : orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }

    public CommonStarCountDto getCommonStarCountDto() {
        return commonStarCountDto;
    }

    public void setCommonStarCountDto(CommonStarCountDto commonStarCountDto) {
        this.commonStarCountDto = commonStarCountDto;
    }

    public List<CommonEvaluateCountDto> getEvaluates() {
        return evaluates;
    }

    public void setEvaluates(List<CommonEvaluateCountDto> evaluates) {
        this.evaluates = evaluates;
    }
}
